package com.xdf.zipperdye.service;

import com.xdf.zipperdye.model.Contact;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface ContactService {
    int deleteByPrimaryKey(Integer iid);

    int insert(Contact record);

    int insertSelective(Contact record);

    Contact selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(Contact record);

    int updateByPrimaryKey(Contact record);

    List<Contact> selectBySid(String sid);

    Boolean sidExists(String sid);
    List<Contact> selectAll();
}
